package com.kingdee.eas.custom.basetata;

import com.kingdee.bos.BOSException;
import com.kingdee.bos.BOSObjectFactory;
import com.kingdee.bos.util.BOSObjectType;
import com.kingdee.bos.Context;

public class UnitsFactory
{
    private UnitsFactory()
    {
    }
    public static com.kingdee.eas.custom.basetata.IUnits getRemoteInstance() throws BOSException
    {
        return (com.kingdee.eas.custom.basetata.IUnits)BOSObjectFactory.createRemoteBOSObject(new BOSObjectType("9EFC00F7") ,com.kingdee.eas.custom.basetata.IUnits.class);
    }
    
    public static com.kingdee.eas.custom.basetata.IUnits getRemoteInstanceWithObjectContext(Context objectCtx) throws BOSException
    {
        return (com.kingdee.eas.custom.basetata.IUnits)BOSObjectFactory.createRemoteBOSObjectWithObjectContext(new BOSObjectType("9EFC00F7") ,com.kingdee.eas.custom.basetata.IUnits.class, objectCtx);
    }
    public static com.kingdee.eas.custom.basetata.IUnits getLocalInstance(Context ctx) throws BOSException
    {
        return (com.kingdee.eas.custom.basetata.IUnits)BOSObjectFactory.createBOSObject(ctx, new BOSObjectType("9EFC00F7"));
    }
    public static com.kingdee.eas.custom.basetata.IUnits getLocalInstance(String sessionID) throws BOSException
    {
        return (com.kingdee.eas.custom.basetata.IUnits)BOSObjectFactory.createBOSObject(sessionID, new BOSObjectType("9EFC00F7"));
    }
}